﻿using HenuAlbum.Identity;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace HenuAlbum.Models
{
    /// <summary>
    /// 包含班级的相册视图(PersonalAlbum 和 GroupAlbum)
    /// </summary>
    [Keyless]
    public class ClassAlbumView
    {
        public int AlbumId { get; set; }

        public int ClassId { get; set; }

        public string ClassName { get; set; }

        public int MajorId { get; set; }

        public string MajorName { get; set; }

        public int CollegeId { get; set; }

        public string CollegeName { get; set; }

        public int GradeId { get; set; }

        public int GradeValue { get; set; }

        public string Title { get; set; }

        public string Description { get; set; }

        public int CreatorId { get; set; }

        public string Discriminator { get; set; }

        public DateTime CreateTime { get; set; }

        public bool IsPublic { get; set; } = false;

        public ReviewState? ReviewState { get; set; }
    }
}
